﻿using Platformer_Example.Content.Images.Player;
using Platformer_Example.Controller.Character;
using Transformable_Engine_v2.Engine.GameObjects.Containers;
using Transformable_Engine_v2.Engine.Transformable_Math.Geometry;

namespace Platformer_Example.Controller.Map.Objects
{
    public class BoxThrowable : BaseThrowable
    {
         public BoxThrowable()
         {
             AddChildren(new ImageContainer
                             {
                                 Sprite = SpritesheetObjects.GetSprite(SpritesheetObjects.Objects.Box),
                                 Origin = TE_Rectangle.Alignment.BottomMiddle
                             });
         }

        public override BaseGravityAffected GetThrownObject()
        {
            return new BoxPickup();
        }
    }
}